package com.RedRiver.hospitalsystem.record_service.service;

import com.RedRiver.hospitalsystem.record_service.form.CreateSerialForm;
import com.RedRiver.hospitalsystem.record_service.info.GetTimeByIdInfo;
import com.RedRiver.hospitalsystem.record_service.infra.model.Serial;
import com.RedRiver.hospitalsystem.result.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 龙世超
 * @since 2022-04-26
 */
public interface SerialService extends IService<Serial> {

    Result<?> addSerial(CreateSerialForm createSerialForm);

    Result<?> getNext(Integer doctorId);

    GetTimeByIdInfo getTime(Integer id);
}
